package com.t.codebook.model.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

 /**
 * 代码库对代码;
 * @author : http://www.chiner.pro
 * @date : 2024-8-25
 */
@Data
@ApiModel(value = "代码库对代码",description = "")
@TableName("code_bank_code")
public class CodeBankCode implements Serializable,Cloneable{
    /** id */
    @ApiModelProperty(name = "id",notes = "")
    @TableId
    private Long id ;
    /** 代码库;id */
    @ApiModelProperty(name = "代码库",notes = "id")
    private Long codebankId ;
    /** 代码;id */
    @ApiModelProperty(name = "代码",notes = "id")
    private Long codeId ;
    /** 创建用户;id */
    @ApiModelProperty(name = "创建用户",notes = "id")
    private Long userId ;
    /** 创建时间 */
    @ApiModelProperty(name = "创建时间",notes = "")
    private Date createTime ;
    /** 更新时间 */
    @ApiModelProperty(name = "更新时间",notes = "")
    private Date updateTime ;

    /** id */
    public Long getId(){
        return this.id;
    }

}